SpriteSurface.FrameSpeed Property

Syntax

FrameSpeed as Integer


The number of vertical retraces per frame. Zero is the fastest the computer can redraw.

Compute FrameSpeed by dividing 60 by the number of frames per second you want and round to the next Integer. Each frame will cause the NextFrame event to execute.

The definition of FrameSpeed has changed in version 2 of REALbasic. Please update version 1 applications accordingly.